﻿package com.ufenlei.LTS{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	public class TestBtn extends MovieClip{
		public function TestBtn(){
			this.stop();
			addEventListener(MouseEvent.MOUSE_OVER,Over );
			addEventListener(MouseEvent.MOUSE_OUT, Out);
			addEventListener(MouseEvent.CLICK, Click);
		}
		private function Over(evt:MouseEvent):void{
			this.gotoAndStop(2);
		}		
		private function Out(evt:MouseEvent):void{
			this.gotoAndStop(1);
		}
		private function Click(evt:MouseEvent):void{
			this.gotoAndStop(3);
		}
	}
}